package com.marktotop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.marktotop.entity.business.VaccinationRecord;
import com.marktotop.error.SystemException;
import com.marktotop.vo.business.InoculateVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author MarkToTop
 * @since 2021-07-12
 */
public interface IVaccinationRecordService extends IService<VaccinationRecord> {


    /**
     * 提交接种记录
     *
     * @param vaccinationRecord 接种单
     * @return
     * @throws SystemException
     */
    boolean postInoculateVaccine(VaccinationRecord vaccinationRecord) throws SystemException;


    /**
     * 获取单个受理的接种信息
     *
     * @param id
     * @return
     * @throws SystemException
     */
    InoculateVO getOneInoculateRecord(Long id) throws SystemException;
}
